import request from '@/utils/request'

// 查询考站表列表
export function listEx_place(query) {
    return request({
        url: '/basic/ex_place/list',
        method: 'get',
        params: query
    })
}

// 查询考站表详细
export function getEx_place(id) {
    return request({
        url: '/basic/ex_place/' + id,
        method: 'get'
    })
}

// 新增考站表
export function addEx_place(data) {
    return request({
        url: '/basic/ex_place',
        method: 'post',
        data: data
    })
}

// 修改考站表
export function updateEx_place(data) {
    return request({
        url: '/basic/ex_place',
        method: 'put',
        data: data
    })
}

// 删除考站表
export function delEx_place(id) {
    return request({
        url: '/basic/ex_place/' + id,
        method: 'delete'
    })
}
